<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<TITLE>LoadFromString Method</TITLE>
<link rel="stylesheet" type="text/css" href="help.css">
</HEAD>

<BODY class="v114">

<OBJECT TYPE="application/x-oleobject" CLASSID="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
	<PARAM NAME="Keyword" VALUE="LoadFromString">
</OBJECT>

<H1><A NAME="loadfromstring_method"></A><B>LoadFromString Method</B></H1>
<HR>

<H2 class="AppliesTo">Applies to</H2>

<P><A HREF="thtmlviewer_component.htm">THtmlViewer</A> component</P>

<H2 class="Declaration">Declaration</H2>

<P>procedure LoadFromString(const S: <A href="type_thtstring.htm">ThtString</A>; const Reference: <A href="type_thtstring.htm">ThtString</A> = ''; DocType: <A href="type_thtmlfiletype.htm">THtmlFileType</A> = HtmlType);</P>

<H2 class="Description">Description</H2>

<P>The LoadFromString method loads a document of the given type from a string.</P>

<P><I>Reference</I> is an optional <A HREF="reference.htm">reference</A> parameter.</P>

<H2 class"SeeAlso">See also</H2>
<UL class="SeeAlso">
<LI><A HREF="loadfromdocument_method.htm">LoadFromDocument Method</A>
<LI><A HREF="loadfromfile_method.htm">LoadFromFile Method</A>
<LI><A HREF="loadfromstream_method.htm">LoadFromStream Method</A>
</UL>

</BODY>
</HTML>
